<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

  <!--  <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Buser_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-buser_id" data-rule="required" data-source="crm/buser/index" data-order-by='id' data-field='username' class="form-control selectpage" name="row[buser_id]" type="text" value="{$row.buser_id}" data-select-only="true">
        </div>
    </div>-->
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_id" data-rule="required" data-source="crm/product/edit_products" data-order-by='id'  data-field='product' data-params='{"allot_id":"{$row.id}"}' data-pagination="false" class="form-control selectpage" name="row[product_id]" type="text" value="{$row.id}">
        </div>
    </div>-->
    <!--<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Expire_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-expire_date" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[expire_date]" type="text" value="{$row.expire_date}">
        </div>
    </div>-->
   <!-- <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Allot_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-allot_date" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[allot_date]" type="text" value="{$row.allot_date}">
        </div>
    </div>-->
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Followuptime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-followuptime" data-rule="required" class="form-control datetimepicker" data-date-min-date="{:date('Y-m-d')}" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[followuptime]" type="text" value="{$row.followuptime}">
        </div>
    </div>
    {in name="row['status']" value="6"}
        <div class="form-group">
            <label class="control-label col-xs-12 col-sm-2">{:__('Typelist')}:</label>
            <div class="col-xs-12 col-sm-8">
                <select  id="c-sectionlist" data-rule="required" class="form-control selectpicker" name="row[typelist]">
                    {foreach name="typeList" item="vo"}
                     <option value="{$key}" {in name="key" value="$row['typelist']"}selected{/in}>{$vo}</option>
                    {/foreach}
                </select>
            </div>
        </div>
    {/in}

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
    <input type="hidden" name="row[id]" value="{$row.id}">
</form>
